1
00:00:00,090 --> 00:00:05,340
When it comes to pen testing wireless networks especially WPA to personal.

2
00:00:05,550 --> 00:00:11,980
It might surprise you initially how fast you can actually attack and have access to a network.

3
00:00:12,180 --> 00:00:18,510
If there is a poor password in place so this whole handshake capture process that we're going to do

4
00:00:18,720 --> 00:00:20,660
relies on this poor password.

5
00:00:20,880 --> 00:00:23,590
If there's poor passwords we're gonna get in all day.

6
00:00:23,670 --> 00:00:26,040
So let's go ahead and just start with this.

7
00:00:26,040 --> 00:00:27,260
First things first.

8
00:00:27,300 --> 00:00:32,400
We've plugged in our wireless card and when you need to actually set it up here.

9
00:00:32,400 --> 00:00:40,110
So just go ahead and go to player and you should have removable devices just come down here and we're

10
00:00:40,110 --> 00:00:41,550
going to go ahead and just say connect.

11
00:00:41,580 --> 00:00:43,450
So here's my my device.

12
00:00:43,470 --> 00:00:46,200
I'm going to say connect to host say OK.

13
00:00:46,320 --> 00:00:48,460
And that should get you connected.

14
00:00:48,480 --> 00:00:55,080
So the way to check that is willing to go into a terminal and we're just going to type in Iaw config

15
00:00:55,320 --> 00:00:59,450
just like I f config for the W stands for wireless.

16
00:00:59,460 --> 00:01:07,350
Now we see here that w land zero exists and we're going to go ahead and start with our attack.

17
00:01:07,380 --> 00:01:13,740
So the first thing we need to do to do this is we need to place our card into what's called monitor

18
00:01:13,740 --> 00:01:14,160
mode.

19
00:01:14,610 --> 00:01:21,330
So what monitor mode does is allows our wireless card to perform monitoring of all the incoming traffic.

20
00:01:21,690 --> 00:01:29,100
And that's going to allow us to eavesdrop you know listen in and hopefully gather that handshake that

21
00:01:29,100 --> 00:01:30,200
we're after.

22
00:01:30,210 --> 00:01:35,220
So what we're going to do here is first we're going to use a tool called airman N G and we're going

23
00:01:35,220 --> 00:01:42,030
to type in check kill check kill is going to allow us to check for any processes that are running and

24
00:01:42,030 --> 00:01:46,470
you see one was running and it's gonna kill those processes that interfere with what we're about to

25
00:01:46,470 --> 00:01:47,520
try to do.

26
00:01:47,760 --> 00:01:53,100
Now that that process is out of the way or possible multiple processes we're going to go ahead and run

27
00:01:53,100 --> 00:01:59,850
this again and we're gonna say start and we're going to say w land zero like that and you should see

28
00:01:59,850 --> 00:02:03,840
it start up your monitor mode on your interface.

29
00:02:03,840 --> 00:02:09,570
So takes just a second and you can see it says monitor mode enabled station mode disable so now and

30
00:02:09,570 --> 00:02:17,490
from W land zero to w land zero Mohn meaning monitor and we can confirm that with I w config and you

31
00:02:17,490 --> 00:02:25,380
can see now that w land zero mine is now active so we need to find the wireless network we want to attack

32
00:02:25,800 --> 00:02:30,240
and this is typically given to us by a client we'll give you the SS I.D. so that you know what's in

33
00:02:30,240 --> 00:02:31,950
scope and what you want to attack.

34
00:02:31,950 --> 00:02:38,490
So we're just going to search the area around us and see what's there and where the network that we

35
00:02:38,490 --> 00:02:44,910
want to specifically attack is and we use a tool called Arrow jump it's all in the same suite here and

36
00:02:44,910 --> 00:02:53,280
we're just gonna say w land zero mine so we come in here and you can see all of the devices around us

37
00:02:53,280 --> 00:02:59,820
start to populate let me make this bigger here so we can see everything and you can see that if we look

38
00:02:59,820 --> 00:03:04,330
through here we have the following.

39
00:03:04,330 --> 00:03:12,100
We have our we have our access point B SSI D which is just the MAC address of the access point we have

40
00:03:12,100 --> 00:03:19,300
the power level here which the lower the number here the lower the negative number the closer we are

41
00:03:19,300 --> 00:03:20,400
to that device.

42
00:03:20,590 --> 00:03:23,050
So negative 11 is really close to us.

43
00:03:23,060 --> 00:03:28,060
My my wireless card is actually sitting on top of the router that we're attacking on the access point

44
00:03:28,060 --> 00:03:34,870
we're attacking and we also see if we're getting any beacons or data back from this which this is not

45
00:03:34,870 --> 00:03:39,910
connected to the Internet there's not a lot of traffic going on right now so I'm not expecting to see

46
00:03:39,910 --> 00:03:43,960
anything happening just a little bit of data if anything coming through.

47
00:03:43,960 --> 00:03:49,810
There is one user attached to this as we talked about in the last video so we're going to generate a

48
00:03:49,810 --> 00:03:53,390
little bit of traffic on our own since nothing's happening at the moment.

49
00:03:53,560 --> 00:03:56,140
So we've got the we've got the T.P. link here.

50
00:03:56,140 --> 00:03:57,660
This is the one we want to attack.

51
00:03:57,700 --> 00:04:01,930
And we also see the channel which we're on channel 6.

52
00:04:01,930 --> 00:04:06,000
If you don't know anything about wireless channels you should definitely read up on them.

53
00:04:06,130 --> 00:04:08,980
Wireless channels being I think 1 through 14.

54
00:04:08,980 --> 00:04:12,810
But the big ones are 1 6 and 11 as they don't have any overlap.

55
00:04:12,820 --> 00:04:17,320
And I think two point four gigahertz at least for five gigahertz it might be a little bit different.

56
00:04:18,520 --> 00:04:26,050
So here we have that we have the type here we have wpa 2 and they're all pretty shared keys which is

57
00:04:26,050 --> 00:04:31,900
pretty expected for a residential area and then you might even see I saw an open network come through

58
00:04:31,900 --> 00:04:32,860
as well.

59
00:04:32,860 --> 00:04:38,910
And then it even tries to pull in some some guest networks or some networks that are.

60
00:04:38,920 --> 00:04:40,870
So here's like a guest network.

61
00:04:40,870 --> 00:04:47,830
It also tries to pull in networks that are hidden so you might see like this length of twenty one and

62
00:04:47,830 --> 00:04:50,720
it may actually be a hidden network that people don't know about.

63
00:04:50,800 --> 00:04:54,290
But just because you have a hidden network out there doesn't mean that it's actually hidden.

64
00:04:54,340 --> 00:05:00,510
It just takes a little bit of patients like this just to wait around and to find it someone who controls

65
00:05:00,520 --> 00:05:02,410
see and stop this process.

66
00:05:02,770 --> 00:05:07,150
And now we've identified the T.P. link and we've identified some information that we need.

67
00:05:07,480 --> 00:05:10,450
So what we're after here is we need to narrow this down.

68
00:05:10,450 --> 00:05:13,570
Now we found the channel we're going to narrow it down just a little bit.

69
00:05:13,900 --> 00:05:20,380
So we're gonna run arrow dump again and this time we're gonna say dash see for the access point channel

70
00:05:20,650 --> 00:05:29,460
which we are on Channel 6 and we're going to say dashed Ashby SS I.D. And we're going to capture the

71
00:05:29,490 --> 00:05:32,820
MAC address here of the access point.

72
00:05:33,240 --> 00:05:35,440
Go ahead and paste that in.

73
00:05:35,490 --> 00:05:39,850
And lastly we need to specify a file name for where we're gonna be capturing this.

74
00:05:39,870 --> 00:05:41,230
I'm going to call this captured.

75
00:05:42,300 --> 00:05:47,370
And we need to specify our interface which is w land zero mine.

76
00:05:47,520 --> 00:05:54,960
And this is going to take this trigger this specific or capture information on this specific device

77
00:05:55,470 --> 00:05:59,070
and it's going to store it in this capture file someone hit enter.

78
00:05:59,070 --> 00:06:04,370
You should see items coming through and you should see the workstation that I have attached here.

79
00:06:04,520 --> 00:06:04,770
Right.

80
00:06:04,770 --> 00:06:10,710
I have one workstation and what we can see if you were testing an actual network you would see a bunch

81
00:06:10,710 --> 00:06:12,550
of different workstations here.

82
00:06:12,720 --> 00:06:15,380
And what we're waiting on now is we're capturing data.

83
00:06:15,430 --> 00:06:20,370
You see a little bit of data coming through and we're waiting to capture enough data or capture this

84
00:06:20,370 --> 00:06:23,300
handshake that comes through and you'll see it come up and we'll be right here.

85
00:06:23,300 --> 00:06:27,470
I'll say handshake captured we're trying to get that four way handshake.

86
00:06:27,510 --> 00:06:34,720
Well we can speed this process along with what is called a d off attack or a D authorization attack.

87
00:06:34,800 --> 00:06:41,580
What that means is we're going to temporarily disassociate a client with a wireless network.

88
00:06:41,580 --> 00:06:45,170
We're going to kick somebody off the wireless is what it boils down to.

89
00:06:45,240 --> 00:06:51,660
And what that does is when the client re associates this handshake is passed out and that's the handshake

90
00:06:51,660 --> 00:06:53,060
that we're looking to capture.

91
00:06:53,190 --> 00:06:59,680
So we're gonna go ahead and open up a new terminal and I'm going to show you how to kind of speed this

92
00:06:59,680 --> 00:07:01,470
process along.

93
00:07:01,480 --> 00:07:07,240
Now you might need to do off a different user so you might have to pick your users and I've I've had

94
00:07:07,240 --> 00:07:10,130
times where I've been dropping and nothing's happening.

95
00:07:10,360 --> 00:07:13,420
And you just kind of have to wait for the right person or somebody to be close to you.

96
00:07:13,420 --> 00:07:19,290
I was in a parking lot once and I ended up cap capturing a handshake waiting on somebody getting out

97
00:07:19,300 --> 00:07:19,890
their car.

98
00:07:19,900 --> 00:07:24,360
I found somebody pop up as they got to the car they associated with the network and I was able to drop

99
00:07:24,370 --> 00:07:26,620
them and get what I needed.

100
00:07:26,980 --> 00:07:31,030
So this little d off attack is nice but you have to kind of be patient with it sometimes.

101
00:07:31,030 --> 00:07:32,620
Although this one should work for us.

102
00:07:33,070 --> 00:07:38,460
So we're gonna do is we're gonna run this d off attack with a tool called Air replay and we're gonna

103
00:07:38,470 --> 00:07:43,930
say a dash zero and that just means d off we're gonna specify one which means we're just gonna run this

104
00:07:43,930 --> 00:07:51,790
one time and we're gonna say a dash a we're gonna paste in this mac address of the AP so you should

105
00:07:51,790 --> 00:07:56,980
already have that copied and just pasted in there we also need to specify the client we're attacking

106
00:07:57,010 --> 00:08:02,170
so we're attacking the station right here so go ahead and capture the station.

107
00:08:02,170 --> 00:08:04,000
Might you grab it the other way.

108
00:08:04,000 --> 00:08:05,320
Might even need to type it in.

109
00:08:05,350 --> 00:08:06,790
It should be capital area.

110
00:08:07,870 --> 00:08:09,700
So here we go.

111
00:08:09,700 --> 00:08:15,320
Paste it here and then we see the type in the interface one more time which is w land zero Mond.

112
00:08:15,940 --> 00:08:19,150
And I want you to kind of just watch this.

113
00:08:19,150 --> 00:08:21,380
So let's see if it pops up.

114
00:08:21,400 --> 00:08:23,380
We're going around this attack just hit enter.

115
00:08:23,420 --> 00:08:25,270
That should send a bunch of dots.

116
00:08:25,420 --> 00:08:29,410
You can see all the beacons coming through here in the data and then the handshake.

117
00:08:29,410 --> 00:08:29,920
There it is.

118
00:08:29,920 --> 00:08:30,540
We got it.

119
00:08:30,880 --> 00:08:31,500
OK.

120
00:08:31,540 --> 00:08:34,040
So I'm going to admit a little bit of video magic editing.

121
00:08:34,060 --> 00:08:37,540
This was not the first time that I had to run this deep attack.

122
00:08:37,540 --> 00:08:42,340
And so the screen might look a little bit different because I had around this a couple times but the

123
00:08:42,340 --> 00:08:43,480
process is here.

124
00:08:43,480 --> 00:08:50,080
You might have to run this off as as I've mentioned not just against a one time one person but you might

125
00:08:50,080 --> 00:08:52,240
have to find another client or another one.

126
00:08:52,330 --> 00:08:56,520
But if you're patient enough you can get this now.

127
00:08:57,430 --> 00:09:01,450
Another thing to mention too is you don't want to keep doffing the same client over and over and over

128
00:09:01,480 --> 00:09:05,290
because you are kicking them off the internet just for a short second of time.

129
00:09:05,290 --> 00:09:10,240
So they just have to disconnect and reconnect and it's it's really quick but you don't want to keep

130
00:09:10,240 --> 00:09:15,210
denying service to a specific user because that could cause issues in the environment right.

131
00:09:15,220 --> 00:09:20,520
So you want to make sure that you kind of just pick and choose your battles and your patient with this.

132
00:09:20,590 --> 00:09:25,570
And if you sit around enough and you capture enough data eventually you will get the WPA handshake without

133
00:09:25,570 --> 00:09:26,670
having to D.R..

134
00:09:26,950 --> 00:09:32,140
But you're in a timed assessment most of the time and you have to actually you know speed this along

135
00:09:32,140 --> 00:09:33,120
a little bit.

136
00:09:33,160 --> 00:09:35,690
So we've got the we've got the handshake.

137
00:09:35,710 --> 00:09:41,920
Let's go ahead and take control see and I have a couple probably a few different captcha files because

138
00:09:41,920 --> 00:09:43,700
I had to run this a couple of times.

139
00:09:43,780 --> 00:09:45,940
So let's just look at what's what's here.

140
00:09:45,940 --> 00:09:49,250
I've got capture one and captured two.

141
00:09:49,270 --> 00:09:54,760
So let's go ahead and take a look at this capture file here this dot cap.

142
00:09:54,790 --> 00:10:00,460
Now we're going to use that dot cap file to actually attempt to crack this handshake.

143
00:10:00,460 --> 00:10:02,890
And I've gone ahead and I just went out.

144
00:10:02,890 --> 00:10:04,830
Let me show you here.

145
00:10:04,960 --> 00:10:11,500
I just made a word list and I just called it wordless and what I did was I took just one hundred bad

146
00:10:11,500 --> 00:10:16,800
passwords and just threw the password in here as part of it.

147
00:10:16,840 --> 00:10:19,360
So you could do the same thing.

148
00:10:19,480 --> 00:10:25,060
You can just go ahead and you know if you know your a password then go ahead just throw it in the word

149
00:10:25,060 --> 00:10:25,330
list.

150
00:10:25,330 --> 00:10:30,310
This is just proof of concept in a real world situation you would you would take this and you would

151
00:10:30,310 --> 00:10:36,280
try to crack this with either what I'm about to show you or you can use hash to practice as well.

152
00:10:36,310 --> 00:10:40,900
There's a lot of different methods you can use and you'll just try to see if you can't pull down this

153
00:10:41,320 --> 00:10:43,460
this password with a nice worthless.

154
00:10:43,480 --> 00:10:48,370
So from here we're going to run a tool called Air crack and we're going to specify the word list which

155
00:10:48,400 --> 00:10:58,430
I just called Mind wordless and then a dash B for the AP Mac address which we have right here all right.

156
00:10:58,510 --> 00:11:05,230
And then we also have the capture file which for me is capture 0 2.

157
00:11:05,300 --> 00:11:13,030
Cab let's go ahead and hit enter on that and you could see it found the passphrase really fast.

158
00:11:13,040 --> 00:11:17,760
I had one hundred one words in there but it took just it took less than the second.

159
00:11:17,760 --> 00:11:18,720
Right.

160
00:11:18,720 --> 00:11:25,110
So this is my default password for my router if I would have left this on my router.

161
00:11:25,110 --> 00:11:25,800
Hands down.

162
00:11:25,800 --> 00:11:27,920
This one is pretty easy to pop.

163
00:11:27,960 --> 00:11:35,040
We run all sequences of numbers because phone numbers are very very common for businesses to use and

164
00:11:35,040 --> 00:11:36,250
people to use.

165
00:11:36,360 --> 00:11:42,900
We also if you're attacking company it's always good to try to use their name in some way or another

166
00:11:42,900 --> 00:11:50,970
and try to you know substitute for example an eye for a one or one for an eye 0 4 and 0 kind of deal

167
00:11:51,240 --> 00:11:54,710
and you'll be surprised how easy you get in street address.

168
00:11:54,720 --> 00:11:55,730
Same thing.

169
00:11:55,920 --> 00:11:59,160
A lot of companies just use what's familiar to them.

170
00:11:59,220 --> 00:12:04,380
You could go on their Web site and pull down word list and kind of attack that way too.

171
00:12:04,380 --> 00:12:08,010
Those are a bunch of different strategies that you have available to you.

172
00:12:08,760 --> 00:12:10,080
But this is the process.

173
00:12:10,110 --> 00:12:13,430
So one more time just mentally talking through it.

174
00:12:13,470 --> 00:12:14,780
We have a wireless card.

175
00:12:14,820 --> 00:12:16,920
We've placed it into monitor mode.

176
00:12:16,920 --> 00:12:21,510
We went ahead and discovered the wireless network that we wanted to attack and then we specified it

177
00:12:21,510 --> 00:12:25,890
specifically choosing the channel the SS I.D. or the mac address.

178
00:12:25,890 --> 00:12:26,620
Right.

179
00:12:26,640 --> 00:12:29,550
And we set a capture file on this interface.

180
00:12:29,550 --> 00:12:32,690
We were looking at it here and this is what that looked like.

181
00:12:32,700 --> 00:12:33,520
Right.

182
00:12:33,540 --> 00:12:40,030
We came through here and we said OK well here's the associated user and we're going go ahead just kick

183
00:12:40,030 --> 00:12:45,890
that user off so we can grab this handshake grab the handshake took it cracked it.

184
00:12:46,110 --> 00:12:47,470
We're in the network.

185
00:12:47,520 --> 00:12:49,620
It's it's just as easy as that.

186
00:12:49,870 --> 00:12:52,190
WPA 2 is a very insecure protocol.

187
00:12:52,200 --> 00:12:59,680
If you are unsecured protocol if you are using weak passwords it's easy money.

188
00:12:59,790 --> 00:13:05,190
So that is it for this video that is it for this subsection.

189
00:13:05,220 --> 00:13:09,930
So we're gonna move on to the next subsection which is going to be talking about legal documentation

190
00:13:09,960 --> 00:13:11,100
and report writing.

191
00:13:11,100 --> 00:13:12,000
So I'll catch you over there.
